package com.cgwx.systemservice.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cgwx.systemservice.entity.sys.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cgwx.systemservice.entity.vo.SysRoleQueryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author GaoWei
 * @since 2023-10-12
 */

@Repository
public interface SysRoleMapper extends BaseMapper<SysRole> {
//    条件分页查询
    IPage<SysRole> selectPage(Page<SysRole> pageParam,@Param("vo") SysRoleQueryVo sysRoleQueryVo);
}
